package network;

/**
 * IP Table Entry
 */
public class IpTableEntry
{
	protected String userID;
	protected String ipAddres;
	
	/**
	 * Constructor
	 * @param userID user id
	 * @param ip ip address
	 */
	public IpTableEntry(String userID, String ip)
	{
		this.ipAddres = ip;
		this.userID = userID;
	}
	
	/**
	 * String data for the IpTableEntry for toString()
	 */
	public String toString()
	{
		return userID + ":"+ ipAddres;
	}

}
